﻿using Newtonsoft.Json;

namespace AdminBase.Model
{
    /// <summary>
    /// 键值 key：value
    /// </summary>
    public class KeyValue
    {
        [JsonProperty("key")]
        public string Key{ set; get; }

        [JsonProperty("value")]
        public string Value{ set; get; }
    }

    /// <summary>
    /// 键值 value:label
    /// </summary>
    public class ValueLabel
    {
        [JsonProperty("value")]
        public string Value { set; get; }

        [JsonProperty("label")]
        public string Label { set; get; }
    }
}
